<?php

return array(
    //'配置项'=>'配置值'
    //后台默认登陆主页
    'DEFAULT_CONTROLLER' => 'Main',
    //去掉后缀.html
    'URL_HTML_SUFFIX' => '',
    'URL_ROUTE_RULES' => array(
        '/^(\w+)$/' => ':1/index',
        '/^(\w+)\/(\w+)$/' => ':1/index?flag=:2',
        '/^(\w+)\/(\w+)\/list$/' => ':1/index?flag=:2&p=1',
        '/^(\w+)\/(\w+)\/list-(\d{0,2})$/' => ':1/index?flag=:2&p=:3',
        '/^(\w+)\/detail-(\d{0,2})$/' => ':1/view?id=:2',
        '/^(\w+)\/(\w+)\/detail-(\d{0,2})$/' => ':1/view?flag=:2&id=:3',
    ),
    //模板路径配置
    'TMPL_PARSE_STRING' => array(
        '--PUBLIC--' => __ROOT__ . '/Public',
        '__IMG__' => __ROOT__ . '/Public/Mobile/Images',
        '__CSS__' => __ROOT__ . '/Public/Mobile/Css',
        '__JS__' => __ROOT__ . '/Public/Mobile/Js',
    ),
    'DATA_CACHE_TYPE' => 'file', //设置缓存方式为file       
    'DATA_CACHE_TIME' => '600', //缓存周期600秒 
);
